import { request } from '@/utils/requestUtil'

export function fetchContent() {
	return request({
		method: 'GET',
		url: '/index/content'
	})
}

export function fetchNewProduct(params) {
	return request({
		method: 'GET',
		url: '/index/new',
		params:params
	})
}

export function fetchHotProduct(params) {
	return request({
		method: 'GET',
		url: '/index/hot',
		params:params
	})
}

export function fetchGuess(params) {
	return request({
		method: 'GET',
		url: '/index/guess',
		params:params
	})
}
